﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace _04_委托练习
{
    public delegate void ChangeLabel(string dateTime);

    public partial class Form2 : Form
    {
        public Form2()
        {
            InitializeComponent();
        }

        public void ChangeLabelText(string text)
        {
            this.label1.Text = text;
        }

    }
}
